<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8" />
    <meta name="robots" content="index, follow, all" />
    <title>Grafika\Gd\DrawingObject\Ellipse | API</title>

            <link rel="stylesheet" type="text/css" href="../../../css/bootstrap.min.css">
        <link rel="stylesheet" type="text/css" href="../../../css/bootstrap-theme.min.css">
        <link rel="stylesheet" type="text/css" href="../../../css/sami.css">
        <script src="../../../js/jquery-1.11.1.min.js"></script>
        <script src="../../../js/bootstrap.min.js"></script>
        <script src="../../../js/typeahead.min.js"></script>
        <script src="../../../sami.js"></script>
        <meta name="MobileOptimized" content="width">
        <meta name="HandheldFriendly" content="true">
        <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
    
    
    </head>

    <body id="class" data-name="class:Grafika_Gd_DrawingObject_Ellipse" data-root-path="../../../">
            <div id="content">
        <div id="left-column">
                <div id="control-panel">
                <form id="search-form" action="../../../search.html" method="GET">
            <span class="glyphicon glyphicon-search"></span>
            <input name="search"
                   class="typeahead form-control"
                   type="search"
                   placeholder="Search">
        </form>
    </div>

                <div id="api-tree"></div>

        </div>
        <div id="right-column">
                <nav id="site-nav" class="navbar navbar-default" role="navigation">
        <div class="container-fluid">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-elements">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="../../../index.html">API</a>
            </div>
            <div class="collapse navbar-collapse" id="navbar-elements">
                <ul class="nav navbar-nav">
                    <li><a href="../../../classes.html">Classes</a></li>
                                            <li><a href="../../../namespaces.html">Namespaces</a></li>
                                        <li><a href="../../../interfaces.html">Interfaces</a></li>
                    <li><a href="../../../traits.html">Traits</a></li>
                    <li><a href="../../../doc-index.html">Index</a></li>
                    <li><a href="../../../search.html">Search</a></li>
                </ul>
            </div>
        </div>
    </nav>

                        <div class="namespace-breadcrumbs">
            <ol class="breadcrumb">
                <li><span class="label label-default">class</span></li>
                                                            <li><a href="../../../Grafika.html">Grafika</a></li>
                                        <li><a href="../../../Grafika/Gd.html">Gd</a></li>
                                        <li><a href="../../../Grafika/Gd/DrawingObject.html">DrawingObject</a></li>
    
                <li>Ellipse</li>
            </ol>
        </div>
                <div id="page-content">
                
    <div class="page-header">
        <h1>
            Ellipse
                
        </h1>
    </div>

    <p>    class
    <strong>Ellipse</strong>        extends <a href="../../../Grafika/DrawingObject/Ellipse.html"><abbr title="Grafika\DrawingObject\Ellipse">Ellipse</abbr></a>        implements
        <a href="../../../Grafika/DrawingObjectInterface.html"><abbr title="Grafika\DrawingObjectInterface">DrawingObjectInterface</abbr></a>
</p>

        
    

            <div class="description">
            <p>Class Ellipse</p>                    </div>
    
    
    
    
            <h2>Methods</h2>

            <div class="container-fluid underlined">
                    <div class="row">
                <div class="col-md-2 type">
                    
                </div>
                <div class="col-md-8 type">
                    <a href="#method___construct">__construct</a>(int $width, int $height, array $pos, int $borderSize, <a href="../../../Grafika/Color.html"><abbr title="Grafika\Color">Color</abbr></a>|null $borderColor, <a href="../../../Grafika/Color.html"><abbr title="Grafika\Color">Color</abbr></a>|null $fillColor)
        
                                            <p>Ellipse constructor.</p>                </div>
                <div class="col-md-2"><small>from&nbsp;<a href="../../../Grafika/DrawingObject/Ellipse.html#method___construct"><abbr title="Grafika\DrawingObject\Ellipse">Ellipse</abbr></a></small></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    int
                </div>
                <div class="col-md-8 type">
                    <a href="#method_getWidth">getWidth</a>()
        
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"><small>from&nbsp;<a href="../../../Grafika/DrawingObject/Ellipse.html#method_getWidth"><abbr title="Grafika\DrawingObject\Ellipse">Ellipse</abbr></a></small></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    int
                </div>
                <div class="col-md-8 type">
                    <a href="#method_getHeight">getHeight</a>()
        
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"><small>from&nbsp;<a href="../../../Grafika/DrawingObject/Ellipse.html#method_getHeight"><abbr title="Grafika\DrawingObject\Ellipse">Ellipse</abbr></a></small></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    array
                </div>
                <div class="col-md-8 type">
                    <a href="#method_getPos">getPos</a>()
        
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"><small>from&nbsp;<a href="../../../Grafika/DrawingObject/Ellipse.html#method_getPos"><abbr title="Grafika\DrawingObject\Ellipse">Ellipse</abbr></a></small></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    int
                </div>
                <div class="col-md-8 type">
                    <a href="#method_getBorderSize">getBorderSize</a>()
        
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"><small>from&nbsp;<a href="../../../Grafika/DrawingObject/Ellipse.html#method_getBorderSize"><abbr title="Grafika\DrawingObject\Ellipse">Ellipse</abbr></a></small></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    <a href="../../../Grafika/Color.html"><abbr title="Grafika\Color">Color</abbr></a>
                </div>
                <div class="col-md-8 type">
                    <a href="#method_getFillColor">getFillColor</a>()
        
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"><small>from&nbsp;<a href="../../../Grafika/DrawingObject/Ellipse.html#method_getFillColor"><abbr title="Grafika\DrawingObject\Ellipse">Ellipse</abbr></a></small></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    <a href="../../../Grafika/Color.html"><abbr title="Grafika\Color">Color</abbr></a>
                </div>
                <div class="col-md-8 type">
                    <a href="#method_getBorderColor">getBorderColor</a>()
        
                                            <p class="no-description">No description</p>
                                    </div>
                <div class="col-md-2"><small>from&nbsp;<a href="../../../Grafika/DrawingObject/Ellipse.html#method_getBorderColor"><abbr title="Grafika\DrawingObject\Ellipse">Ellipse</abbr></a></small></div>
            </div>
                    <div class="row">
                <div class="col-md-2 type">
                    <a href="../../../Grafika/ImageInterface.html"><abbr title="Grafika\ImageInterface">ImageInterface</abbr></a>
                </div>
                <div class="col-md-8 type">
                    <a href="#method_draw">draw</a>(<a href="../../../Grafika/ImageInterface.html"><abbr title="Grafika\ImageInterface">ImageInterface</abbr></a> $image)
        
                                            <p>TODO: Anti-aliased curves</p>                </div>
                <div class="col-md-2"></div>
            </div>
            </div>


        <h2>Details</h2>

            <div id="method-details">
                    <div class="method-item">
                    <h3 id="method___construct">
        <div class="location">in <a href="../../../Grafika/DrawingObject/Ellipse.html#method___construct"><abbr title="Grafika\DrawingObject\Ellipse">Ellipse</abbr></a> at line         line 57</div>
        <code>                    
    <strong>__construct</strong>(int $width, int $height, array $pos, int $borderSize, <a href="../../../Grafika/Color.html"><abbr title="Grafika\Color">Color</abbr></a>|null $borderColor, <a href="../../../Grafika/Color.html"><abbr title="Grafika\Color">Color</abbr></a>|null $fillColor)
        </code>
    </h3>
    <div class="details">
            
    

                    <div class="method-description">
                                    <p>Ellipse constructor.</p>                                </div>
                <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td>int</td>
                <td>$width</td>
                <td>Width of ellipse in pixels.</td>
            </tr>
                    <tr>
                <td>int</td>
                <td>$height</td>
                <td>Height of ellipse in pixels.</td>
            </tr>
                    <tr>
                <td>array</td>
                <td>$pos</td>
                <td>Array containing int X and int Y position from top left of canvass.</td>
            </tr>
                    <tr>
                <td>int</td>
                <td>$borderSize</td>
                <td>Border thickness in pixels.</td>
            </tr>
                    <tr>
                <td><a href="../../../Grafika/Color.html"><abbr title="Grafika\Color">Color</abbr></a>|null</td>
                <td>$borderColor</td>
                <td>Border color.</td>
            </tr>
                    <tr>
                <td><a href="../../../Grafika/Color.html"><abbr title="Grafika\Color">Color</abbr></a>|null</td>
                <td>$fillColor</td>
                <td>Border color.</td>
            </tr>
            </table>

            
            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_getWidth">
        <div class="location">in <a href="../../../Grafika/DrawingObject/Ellipse.html#method_getWidth"><abbr title="Grafika\DrawingObject\Ellipse">Ellipse</abbr></a> at line         line 69</div>
        <code>                    int
    <strong>getWidth</strong>()
        </code>
    </h3>
    <div class="details">
            
    

                <div class="tags">
            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>int</td>
            <td></td>
        </tr>
    </table>

            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_getHeight">
        <div class="location">in <a href="../../../Grafika/DrawingObject/Ellipse.html#method_getHeight"><abbr title="Grafika\DrawingObject\Ellipse">Ellipse</abbr></a> at line         line 77</div>
        <code>                    int
    <strong>getHeight</strong>()
        </code>
    </h3>
    <div class="details">
            
    

                <div class="tags">
            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>int</td>
            <td></td>
        </tr>
    </table>

            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_getPos">
        <div class="location">in <a href="../../../Grafika/DrawingObject/Ellipse.html#method_getPos"><abbr title="Grafika\DrawingObject\Ellipse">Ellipse</abbr></a> at line         line 85</div>
        <code>                    array
    <strong>getPos</strong>()
        </code>
    </h3>
    <div class="details">
            
    

                <div class="tags">
            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>array</td>
            <td></td>
        </tr>
    </table>

            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_getBorderSize">
        <div class="location">in <a href="../../../Grafika/DrawingObject/Ellipse.html#method_getBorderSize"><abbr title="Grafika\DrawingObject\Ellipse">Ellipse</abbr></a> at line         line 93</div>
        <code>                    int
    <strong>getBorderSize</strong>()
        </code>
    </h3>
    <div class="details">
            
    

                <div class="tags">
            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td>int</td>
            <td></td>
        </tr>
    </table>

            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_getFillColor">
        <div class="location">in <a href="../../../Grafika/DrawingObject/Ellipse.html#method_getFillColor"><abbr title="Grafika\DrawingObject\Ellipse">Ellipse</abbr></a> at line         line 101</div>
        <code>                    <a href="../../../Grafika/Color.html"><abbr title="Grafika\Color">Color</abbr></a>
    <strong>getFillColor</strong>()
        </code>
    </h3>
    <div class="details">
            
    

                <div class="tags">
            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td><a href="../../../Grafika/Color.html"><abbr title="Grafika\Color">Color</abbr></a></td>
            <td></td>
        </tr>
    </table>

            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_getBorderColor">
        <div class="location">in <a href="../../../Grafika/DrawingObject/Ellipse.html#method_getBorderColor"><abbr title="Grafika\DrawingObject\Ellipse">Ellipse</abbr></a> at line         line 109</div>
        <code>                    <a href="../../../Grafika/Color.html"><abbr title="Grafika\Color">Color</abbr></a>
    <strong>getBorderColor</strong>()
        </code>
    </h3>
    <div class="details">
            
    

                <div class="tags">
            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td><a href="../../../Grafika/Color.html"><abbr title="Grafika\Color">Color</abbr></a></td>
            <td></td>
        </tr>
    </table>

            
            
                    </div>
    </div>

            </div>
                    <div class="method-item">
                    <h3 id="method_draw">
        <div class="location">at line         line 21</div>
        <code>                    <a href="../../../Grafika/ImageInterface.html"><abbr title="Grafika\ImageInterface">ImageInterface</abbr></a>
    <strong>draw</strong>(<a href="../../../Grafika/ImageInterface.html"><abbr title="Grafika\ImageInterface">ImageInterface</abbr></a> $image)
        </code>
    </h3>
    <div class="details">
            
    

                    <div class="method-description">
                                    <p>TODO: Anti-aliased curves</p>                                </div>
                <div class="tags">
                            <h4>Parameters</h4>

                    <table class="table table-condensed">
                    <tr>
                <td><a href="../../../Grafika/ImageInterface.html"><abbr title="Grafika\ImageInterface">ImageInterface</abbr></a></td>
                <td>$image</td>
                <td></td>
            </tr>
            </table>

            
                            <h4>Return Value</h4>

                    <table class="table table-condensed">
        <tr>
            <td><a href="../../../Grafika/ImageInterface.html"><abbr title="Grafika\ImageInterface">ImageInterface</abbr></a></td>
            <td></td>
        </tr>
    </table>

            
            
                    </div>
    </div>

            </div>
            </div>

    
            </div>
                <div id="footer">
        Generated by <a href="http://sami.sensiolabs.org/">Sami, the API Documentation Generator</a>.
    </div>

        </div>
    </div>
    </body>

</html>
